package org.coc.iot.constants;

/**
 * Created by Bean on 2017/5/10.
 */
public class Constants {

    // Session标记
    public final static String SESSION_USER_KEY = "sessionUser";

    // 超级管理员标示
    public final static String SYSTEM_ADMIN = "admin";

    // 默认首页
    public final static Integer PAGE_NUM_DEFAULT = 1;

    // 默认分页大小
    public final static Integer PAGE_SIZE_DEFAULT = 10;

    // Token令牌
    public final static String TOKEN_KEY = "tokenCache";

    //是否有效-是
    public final static Integer IS_VALID_TRUE = 1;

    //是否有效-否
    public final static Integer IS_VALID_FALSE = 0;

}
